package com.zzptc.easyshop.dao;

import com.zzptc.easyshop.vo.Users;
import com.zzptc.easyshop.vo.VO;

import java.sql.SQLException;
import java.util.List;

public interface IDAO {      //增删改查的方法
    //插入
    boolean insert(VO vo) throws SQLException;
    //登录
    boolean login(VO vo) throws SQLException;
    //删除
    boolean delete(VO vo) throws SQLException;
    //修改
    boolean update(VO vo) throws SQLException;
    //获取所有
    List getAll() throws SQLException;

}
